# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=gnome-firmware
pkgver=43.2
pkgrel=1
pkgdesc="Manage firmware on devices supported by fwupd"
arch=(loong64 x86_64)
url="https://gitlab.gnome.org/World/gnome-firmware"
license=(GPL2)
depends=(gtk4 glib2 fwupd libadwaita libxmlb systemd)
makedepends=(meson help2man)
source=(https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz)
sha256sums=('04404c69422924e82c34cc7af917734dd197c7a218b99b856c43aef0d5f831bd')

build() {
  arch-meson ${pkgname}-${pkgver} build
  meson compile -C build
}

package() {
  meson install -C build --destdir "${pkgdir}"
}
